1

SnappyData documentation and architecture diagrams seem to indicate that a JDBC thin client connection goes from a client to a Locator and then it is routed to a direct connection to a Server.

If this is true, then I can run JDBC queries without a Lead node, correct?

mechanical_meat
  • 163,903
  • 24
  • 228
  • 223
Jason
  • 2,006
  • 3
  • 21
  • 36

2 Answers2

3

Yes, that is correct. The locator provides load and connectivity information back to the client that is now able to connect to one or more servers either for direct access to a bucket for low latency queries but more importantly, is HA - can failover and failback.

So, yes, your connected clients will continue to function even when the locator goes away. Note that the "lead" plays a different role than the locator. Its primary function is to host Spark driver, orchestrate Spark Jobs and provide HA to Spark. With no lead, you won't be able to run such Jobs.

jagsr
  • 535
  • 2
  • 6
1

In addition to what @jagsr has mentioned, if you do not intend to run the lead nodes (and thus no Spark jobs or column store), then you can run the cluster as pure row store using snappy-start-all.sh rowstore (see rowstore docs)

Sumedh
  • 383
  • 2
  • 7