๐ moleculerjs/moleculer-repl
๐ฅ 0.5.6 (2019-02-20)
๐ฅ๐ฅ Changes
- add
- update deps
#moleculerjs #moleculer-repl
๐ฅ 0.5.6 (2019-02-20)
๐ฅ๐ฅ Changes
- add
meta
parameter for call
& dcall
commands. - update deps
#moleculerjs #moleculer-repl
๐ moleculerjs/moleculer
๐ฅ 0.13.7 (2019-02-21)
๐ฅ Changes
- fix ioredis dependency in typescript definition file ๐ฅ476
#moleculerjs #moleculer
๐ฅ 0.13.7 (2019-02-21)
๐ฅ Changes
- fix ioredis dependency in typescript definition file ๐ฅ476
#moleculerjs #moleculer
๐ moleculerjs/moleculer-cli
๐ฅ 0.6.5 (2019-03-06)
๐ฅ๐ฅ Changes
- update dependencies
- support multiple template directories by @ccampanale ๐ฅ22
#moleculerjs #moleculer-cli
๐ฅ 0.6.5 (2019-03-06)
๐ฅ๐ฅ Changes
- update dependencies
- support multiple template directories by @ccampanale ๐ฅ22
#moleculerjs #moleculer-cli
๐ moleculerjs/moleculer
๐ฅ 0.13.8 (2019-03-21)
๐ฅ Changes
- fix missing field in ProtoBuf & Thrift serializers ๐ฅ496
#moleculerjs #moleculer
๐ฅ 0.13.8 (2019-03-21)
๐ฅ Changes
- fix missing field in ProtoBuf & Thrift serializers ๐ฅ496
#moleculerjs #moleculer
๐ moleculerjs/moleculer-repl
๐ฅ 0.5.7 (2019-03-25)
๐ฅ๐ฅ Changes
- added
#moleculerjs #moleculer-repl
๐ฅ 0.5.7 (2019-03-25)
๐ฅ๐ฅ Changes
- added
destroy
method that allows to destroy a locally running service by providing serviceName
#moleculerjs #moleculer-repl
๐ moleculerjs/moleculer-cli
๐ฅ 0.6.6 (2019-03-28)
๐ฅ๐ฅ Changes
- update dependencies
- add
#moleculerjs #moleculer-cli
๐ฅ 0.6.6 (2019-03-28)
๐ฅ๐ฅ Changes
- update dependencies
- add
promptForProjectOverwrite
to template meta properties to skip confirmation when the target directory exists.#moleculerjs #moleculer-cli
๐ moleculerjs/moleculer
๐ฅ 0.13.9 (2019-04-18)
๐ฅ New
๐ฅ๐ฅ Cache locking feature by @tiaod ๐ฅ490
Example to enable cacher locking:
Example for Redis cacher with
๐ฅ Changes
- fix event wildcard handling in case of NATS transporter and disabled balancer ๐ฅ517
- update typescript d.ts file. ๐ฅ501 ๐ฅ521
- fix context calling options cloning.
- service modification support for ES6 classes ๐ฅ514
- fix
#moleculerjs #moleculer
๐ฅ 0.13.9 (2019-04-18)
๐ฅ New
๐ฅ๐ฅ Cache locking feature by @tiaod ๐ฅ490
Example to enable cacher locking:
cacher: {
ttl: 60,
lock: true, // Set to true to enable cache locks. Default is disabled.
}
// Or
cacher: {
ttl: 60,
lock: {
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
}
}
// Disable the lock
cacher: {
ttl: 60,
lock: {
enable: false, // Set to false to disable.
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
}
}
Example for Redis cacher with
redlock
library:const broker = new ServiceBroker({
cacher: {
type: "Redis",
options: {
// Prefix for keys
prefix: "MOL",
// set Time-to-live to 30sec.
ttl: 30,
// Turns Redis client monitoring on.
monitor: false,
// Redis settings
redis: {
host: "redis-server",
port: 6379,
password: "1234",
db: 0
},
lock: {
ttl: 15, //the maximum amount of time you want the resource locked in seconds
staleTime: 10, // If the ttl is less than this number, means that the resources are staled
},
// Redlock settings
redlock: {
// Redis clients. Support node-redis or ioredis. By default will use the local client.
clients: [client1, client2, client3],
// the expected clock drift; for more details
// see http://redis.io/topics/distlock
driftFactor: 0.01, // time in ms
// the max number of times Redlock will attempt
// to lock a resource before erroring
retryCount: 10,
// the time in ms between attempts
retryDelay: 200, // time in ms
// the max time in ms randomly added to retries
// to improve performance under high contention
// see https://www.awsarchitectureblog.com/2015/03/backoff.html
retryJitter: 200 // time in ms
}
}
}
});
๐ฅ Changes
- fix event wildcard handling in case of NATS transporter and disabled balancer ๐ฅ517
- update typescript d.ts file. ๐ฅ501 ๐ฅ521
- fix context calling options cloning.
- service modification support for ES6 classes ๐ฅ514
- fix
null
, 0
& false
return value issue in case of ProtoBuf serializer ๐ฅ511#moleculerjs #moleculer
๐Good news for Russian Community! ๐ท๐บ
Mirror official site https://moleculerjs.ru based on russian data center in Selectel!
๐ฎ๐ปโโ๏ธ RKN bypassed! ๐
Mirror official site https://moleculerjs.ru based on russian data center in Selectel!
๐ฎ๐ปโโ๏ธ RKN bypassed! ๐
Published official video of lesson for beginner โถ๏ธ
https://www.youtube.com/watch?v=t4YR6MWrugw
https://www.youtube.com/watch?v=t4YR6MWrugw
YouTube
An introduction to microservices with Moleculer JS
A quick introduction to Moleculer JS
Moleculer is a progressive microservices framework for Node.js.
Official Site: https://moleculer.services/
Github: https://github.com/moleculerjs/moleculer
Twitter: https://twitter.com/MoleculerJS
Documentation: htโฆ
Moleculer is a progressive microservices framework for Node.js.
Official Site: https://moleculer.services/
Github: https://github.com/moleculerjs/moleculer
Twitter: https://twitter.com/MoleculerJS
Documentation: htโฆ
Add in 0.14.x-beta throttle and debounce for events
#prerelease #moleculer
https://moleculer.services/docs/0.14/middlewares.html#Event-Execution-Rate
#prerelease #moleculer
https://moleculer.services/docs/0.14/middlewares.html#Event-Execution-Rate
Moleculer - Progressive microservices framework for Node.js
Middlewares
Moleculer supports middlewares. Itโs same as plugins in other frameworks. The middleware is an Object with hooks & wrapper functions. It allows to wrap action handlers, event handlers, broker meth