3 Ekim 2021 Pazar

Thin Client

Giriş
Not : Thin Client ve JDBC farklı şeyler!

Açıklaması şöyle
Thin clients are actually much closer to what we usually think about when talking about clients. A thin client is very lightweight, initiates a single TCP socket connection with one of the nodes in the cluster, and communicates via a simple binary protocol. It also follows a very straightforward request-response pattern.
Desteklenen Özellikler
Açıklaması şöyle
Thin client is my favorite choice. You can see supported features in this table.

So the latest versions of thin clients can do almost everything and do not have a few disadvantages. It doesn’t insert into topology but connects to one of the server nodes. The version of thin clients can be different from the cluster version that makes cluster upgrade significantly easier.
Liste şöyle
Scan Query
Scan Query with a filter
Binary Object API
Async Operations
SSL/TLS
Authentication
Partition Awareness
Failover
Transactions
Cluster API
Compute
Service Invocation
Server Discovery
Data Streaming

Bağlantı
Açıklaması şöyle. Thin Client bir gateway düğüme bağlanır ve işleri onun üzerinden yürütür.
A thin client is not collocation-aware. It’s typically connected to only one node in the cluster, which is used as a gateway — all requests from the client go through this server node. This creates an obvious bottleneck. Some implementations support load balancing between two or more nodes, but even in this case scalability is more limited than with thick clients.
API
Açıklaması şöyle
Thin clients provide limited API. Currently, you can only create/destroy caches, execute key-value operations and SQL queries. Compute Grid and Service Grid APIs are likely to be added in the future (contributions are welcome!). However, advanced features that require push notifications from servers to clients (near caches, continuous queries) or sophisticated threading models (data streaming) will most likely never be implemented for thin clients.
Bazı arayüz ve sınıflar şöyle. Tüm sınıflar şu pakette.
org.apache.ignite.client
ClientCacheConfiguration Sınıfı
ClientCache Arayüzü
IgniteClient Arayüzü

Hiç yorum yok:

Yorum Gönder

Ignite Transaction Kullanımı

Giriş Bir tablo 3 tane atomicity değerinden birisine sahip olabilir. 1. ATOMIC 2. TRANSACTIONAL 3. TRANSACTIONAL_SNAPSHOT ATOMIC Açıklaması ...