SQLite

Can SQLite be considered for Server Applications?

Introduction

While embarking on building any new server application, one of the key requirement is whether it needs durable, persistent storage of data (and in most cases, it does). This is followed by evaluating suitable data store. Likely evaluation criteria is Application’s Requirement (Tolerance for eventual consistency, High Availability etc.), Team’s familiarity, Costs, Tech. support availability and so on. In case of choices in relational databases, typical go to options are MySQL, PostgreSQL or even proprietary databases like Oracle , SQL Server. Seldom one considers SQLite for this purpose.

Tool to mass DM followers on Twitter in Go

Background

I recently came across bounty by Balaji Srinivasan to send Direct Message to all twitter followers. Currently, i do not intend to participate in bounty and this is mere exercise.

This is an attempt to write CLI tool in Golang in response to it.

For detailed requirements, refer here

Approach

In Brief,

  • CLI should,

    • accept arguments like Twitter API Key,Auth token, DM Message
    • Download all followers (with profile details)
    • Rank them by Criteria (e.g. Location)
    • Send each follower a DM with provided message (upto daily DM Limit)
    • be easy to use and maintain
  • Notes,