Does long distance work?

My boyfriend will be leaving the country next year for studies. Long distance is something that has come up. Is there anyone who has experienced long distance relationships? What are your thoughts? Advice? It sounds really hard. Please let me know in the comments below!