From 5771c188c8fa785bb224a15cf2eec2eea5600507 Mon Sep 17 00:00:00 2001 From: Rolands Date: Sun, 22 Feb 2026 09:17:18 +0100 Subject: [PATCH] readme --- README.md | 4 ++-- core/README.md | 4 ++-- core/package-lock.json | 4 ++-- core/package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index dc81e8b..cf3114b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ * [Simple Documentation](https://github.com/Rolands-Laucis/Socio/blob/main/Documentation.md) --- -This lets you write SQL in your frontend code, that automagically refreshes on all clients when a resource is changed on any (optionally) connected DB. Additionally, create any generic JS variables on your server to be realtime synced across all clients using "Server Props". +This replaces the REST API paradigm in your app, by letting you write SQL in your frontend code, that automagically refreshes on all clients when a resource is changed on any (optionally) connected DB. Additionally, create any generic JS variables on your server to be realtime synced across all clients using "Server Props". Agnostic of framework, build tool, server lib and SQL database. Requires Node.js >= 16 LTS. @@ -80,7 +80,7 @@ const res = await sc.SetProp('color', '#ffffff'); //this will rerun ^ the sub, i ## Does it scale? ⚖️ -Currently the performance is neglegable for small projects. I havent stress tested yet, but I optimize my data structures and procedures. Current estimate is about 100 concurrent users should be a breeze on a cheap Linode server. I expect your backend DB to be set up properly with table indexing and caching. +Currently the performance is negligible for small projects. I havent stress tested yet, but I optimize my data structures and procedures. Current estimate is about 100 concurrent users should be a breeze on a cheap Linode server. I expect your backend DB to be set up properly with table indexing and caching. [According to this blog](https://medium.com/nativeai/websocket-vs-http-for-collecting-events-for-web-analytics-c45507bd7949) WebSockets are much more network traffic efficient than HTTP at scale. diff --git a/core/README.md b/core/README.md index dc81e8b..cf3114b 100644 --- a/core/README.md +++ b/core/README.md @@ -12,7 +12,7 @@ * [Simple Documentation](https://github.com/Rolands-Laucis/Socio/blob/main/Documentation.md) --- -This lets you write SQL in your frontend code, that automagically refreshes on all clients when a resource is changed on any (optionally) connected DB. Additionally, create any generic JS variables on your server to be realtime synced across all clients using "Server Props". +This replaces the REST API paradigm in your app, by letting you write SQL in your frontend code, that automagically refreshes on all clients when a resource is changed on any (optionally) connected DB. Additionally, create any generic JS variables on your server to be realtime synced across all clients using "Server Props". Agnostic of framework, build tool, server lib and SQL database. Requires Node.js >= 16 LTS. @@ -80,7 +80,7 @@ const res = await sc.SetProp('color', '#ffffff'); //this will rerun ^ the sub, i ## Does it scale? ⚖️ -Currently the performance is neglegable for small projects. I havent stress tested yet, but I optimize my data structures and procedures. Current estimate is about 100 concurrent users should be a breeze on a cheap Linode server. I expect your backend DB to be set up properly with table indexing and caching. +Currently the performance is negligible for small projects. I havent stress tested yet, but I optimize my data structures and procedures. Current estimate is about 100 concurrent users should be a breeze on a cheap Linode server. I expect your backend DB to be set up properly with table indexing and caching. [According to this blog](https://medium.com/nativeai/websocket-vs-http-for-collecting-events-for-web-analytics-c45507bd7949) WebSockets are much more network traffic efficient than HTTP at scale. diff --git a/core/package-lock.json b/core/package-lock.json index 73e2cff..1887e6d 100644 --- a/core/package-lock.json +++ b/core/package-lock.json @@ -1,12 +1,12 @@ { "name": "socio", - "version": "1.15.13", + "version": "1.15.14", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "socio", - "version": "1.15.13", + "version": "1.15.14", "license": "MIT", "dependencies": { "@msgpack/msgpack": "^3.1.2", diff --git a/core/package.json b/core/package.json index 890bab9..7f94662 100644 --- a/core/package.json +++ b/core/package.json @@ -1,6 +1,6 @@ { "name": "socio", - "version": "1.15.13", + "version": "1.15.14", "description": "A WebSocket Real-Time Communication (RTC) API framework.", "main": "./dist/core.js", "type": "module",