Skip to main content

Avoiding Burnout

Burnout is very common in startup and it hits you more often when you are at the same startup for 7+ years. Much of burnout is felt when you are working hard but progress is slow and you have high expectations of yourself and the team. I read this excellent article http://andrewdumont.me/avoiding-burnout/ and it felt almost Deja vu to me.  I work from home so it hits even hard to me as I have less people to share it with. Here are the ways I have been trying to curtail burnout and hope it help others too:

  1. Workplace:Keep your workplace organized and stick to a routine.  I have an office room at home and I am in work mode when I am in that office.
  2. Morning:Keep 1 hour in mornings on something outside work. I read a lot in morning and don't come online or check emails until that 1 hour is done.
  3. Workout: rain, heat or winter, I try to walk for 30 min in afternoon as much as possible. This gives you some time for meta thinking and de stresses you from the morning chaos. Many solutions to tough problems come on this walk. I don’t hear music or podcast on this, I tried but then it felt like more work, I avoid it.
  4. Silence room:Do some grunt work on weekends, be it doing vaccum in house or mowing your lawn, you need 1-2 hours of "Your own time" withot distractions.
  5. Email: fight this monster, I sent most notifications to trash and assume people will call me if they need me. Also when startup becomes big people will copy you on tons of emails so choose which battles are worth fighting and which aren’t.
  6. Hipchat: Avoid this also if you are on creator schedule, I am now a days trying to stick to checking it only if I am waiting for build to finish or have some time before meetings.
  7. Motivation: Set some tough projects for you and work on them. Even if you are making slow progress you should finish it by making some progress every week.
  8. Coding: I like coding so now I have reserved calendar time of 3 hours a day to it.  This is by far the best way for avoiding burnout for me.
  9. Buddy: Have a buddy who you can share some things, may be you will just vent out and he will also but it would de stress you.
  10. Vacations: I try to take 1 big vacation(2weeks)  every year and try to go to national parks for camping where there is no connectivity so you are really unplugged.
  11. HQ visit: this recharges me as I again get some more brainstorming on things outside my purview.
  12. Hobby: I recently picked up photography and I do read and practice that.
  13. Humans: I feel more burnout when I need to make something live and there are many humans in the process chain that makes things slow, things that should take 1 week takes months and then you are burned out as your baby isn’t live.  I try to automate and avoid humans in the process as much as possible. Its unavoidable but if you are lazy and think hard then its doable in many cases.

Comments

Popular posts from this blog

Haproxy and tomcat JSESSIONID

One of the biggest problems I have been trying to solve at our startup is to put our tomcat nodes in HA mode. Right now if a customer comes, he lands on to a node and remains there forever. This has two major issues: 1) We have to overprovision each node with ability to handle worse case capacity. 2) If two or three high profile customers lands on to same node then we need to move them manually. 3) We need to cut over new nodes and we already have over 100+ nodes.  Its a pain managing these nodes and I waste lot of my time in chasing node specific issues. I loath when I know I have to chase this env issue. I really hate human intervention as if it were up to me I would just automate thing and just enjoy the fruits of automation and spend quality time on major issues rather than mundane task,call me lazy but thats a good quality. So Finally now I am at a stage where I can put nodes behing HAProxy in QA env. today we were testing the HA config and first problem I immediat...

Adding Jitter to cache layer

Thundering herd is an issue common to webapp that rely on heavy caching where if lots of items expire at the same time due to a server restart or temporal event, then suddenly lots of calls will go to database at same time. This can even bring down the database in extreme cases. I wont go into much detail but the app need to do two things solve this issue. 1) Add consistent hashing to cache layer : This way when a memcache server is added/removed from the pool, entire cache is not invalidated.  We use memcahe from both python and Java layer and I still have to find a consistent caching solution that is portable across both languages. hash_ring and spymemcached both use different points for server so need to read/test more. 2) Add a jitter to cache or randomise the expiry time: We expire long term cache  records every 8 hours after that key was added and short term cache expiry is 2 hours. As our customers usually comes to work in morning and access the cloud file server it ...

Spring 3.2 quartz 2.1 Jobs added with no trigger must be durable.

I am trying to enable HA on nodes and in that process I found that in a two test node setup a job that has a frequency of 10 sec was running into deadlock. So I tried upgrading from Quartz 1.8 to 2.1 by following the migration guide but I ran into an exception that says "Jobs added with no trigger must be durable.". After looking into spring and Quartz code I figured out that now Quartz is more strict and earlier the scheduler.addJob had a replace parameter which if passed to true would skip the durable check, in latest quartz this is fixed but spring hasnt caught up to this. So what do you do, well I jsut inherited the factory and set durability to true and use that public class DurableJobDetailFactoryBean extends JobDetailFactoryBean {     public DurableJobDetailFactoryBean() {         setDurability(true);     } } and used this instead of JobDetailFactoryBean in the spring bean definition     <bean i...