How to get random number using chainlink in avalanche.
The V1 has support for Polygon, BSC and ETH.
https://docs.chain.link/docs/chainlink-vrf/?_ga=2.132083400.616421178.1645534260-1388116974.1645534260
At this time, Chainlink VRF is not available on Avalanche.
Related
I am looking to get a end point for BSC (BNB) chain, any reliable providers? I tried with Moralis Speedy nodes, but it frequently gets disconncted if I use it in a node js program. I am using a wss connection to check pending txs.
Any other reliable providers?
Thanks
Sam
You can run your own Binance Smart Chain (BNB Chain) node for the maximum reliability.
Here are some misc. instructions, but better to follow BNB Chain official guide how to run a node.
I am looking for the scalability limits of Hyperledger Fabric v 1.2 in terms of maximum number of peer nodes. I found some test results that claim maximum 26 for Fabric 1.0. I understand that more nodes will not increase number of concurrent transactions proportionally but that's not a concern for my use case, I just need more peers on the network.
I am stuck with the problem of monitoring http requests of a website with an internet-facing loadbalancer. To be specific, I have hosted a website that uses a server farm of AWS EC2 instances with a loadbalancer (ELB) at the front. Now I want to get an idea about the request arrival rate per second (or per minute) to scale the server farm.
I have thought of an approach to perform this task online. The idea is to get the ELB log each minute and parsing it for http request count for the last minute. Just wondering whether there is any efficient way to do it online.
Any help would be highly appreciated.
Your best bet is to use AWS's cloudwatch to do the monitoring for you:
http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/US_MonitoringLoadBalancerWithCW.html
Elastic Load Balancing publishes data points to Amazon CloudWatch
about your load balancers and your back-end application instances.
CloudWatch allows you to retrieve statistics about those data points
as an ordered set of time-series data, known as metrics. Think of a
metric as a variable to monitor, and the data points represent the
values of that variable over time. Each data point has an associated
time stamp and (optionally) a unit of measurement. For example, total
number of healthy EC2 instances behind a load balancer over a
specified time period can be a metric.
Amazon CloudWatch provides statistics based on the metric data points
published by Elastic Load Balancing. Statistics are metric data
aggregations over specified periods of time. The following statistics
are available: Minimum (min), Maximum (max), Sum, Average, and Count.
When you request statistics, the returned data stream is identified by
the metric name and a dimension. A dimension is a name/value pair that
helps you to uniquely identify a metric. For example, you can request
statistics of all the healthy EC2 instances behind a load balancer
launched in a specific Availability Zone.
I already used Google Compute instance, and it's located us-central.
I'm living Taiwan, ping the instance than average time 180~210ms.
Amazon EC2 located Singapore, average time 70~80ms.
I think this difference latency result, depend your server located, right?
So I guessed Google Compute Engine doesn't support CDN, right?
even Amazon ec2 also the same.
Kind Regards,
PinLiang
Google Compute runs code while a CDN delivers content (**C**ontent **D**elivery **N**etwork) so they aren't the same thing. If you get better latency to Amazon EC2 then use that instead but be aware that Google Compute and EC2 work very differently and you wont be able to run the same code on both.
If you want low latency (to Taiwan) compute resources you might want to consider using a Compute Engine instances in the Asia zones, see: 4/14/2014 - Google Cloud Platform expands to Asia
Yes, location and network connectivity will determine your latency. This is not always obvious though. Submarine cables tend to take particular paths. In some cases a geographically closer location may have higher latency.
A CDN is generally used for distributing static files, at lower latency to more users. Cloudfront can use any site as a custom origin.
I am planning to start a bulk sms service provider business. However I have the following doubts:
Which SMS/MMS Gateway software is good/best for high volume traffic(
OzekiNG, NowSMS etc)?
Do I need to setup connections with all the
major mobile operators or a single major operator will also work?
For the case of 2-way SMSs how can I charge money from the
customers?(e.g. usually the operator charges for the sms, but I need
to get something also)
How much will be the initial costing?
Consider kannel? http://www.kannel.org/
It depend, to guarantee realiability, you should consider connect to the mobile operator. But it would seem a lot of mno in the world hence there are some other aggregators which you can connect to such as the one you mentioned in your first question.
You need something called reverse charging. Read http://en.wikipedia.org/wiki/Reverse_SMS_billing for more information.
The cost will always depend on which operator you integrate with. So remember to quote for their initial costing. You can reference the operators pricing mechanism.
You can read following guide especially written for service providers mentioning that how one can start VoIP based Voice SMS or FAX broadcasting business, Following are answers to your questions respectively
For bulk SMS traffic you must go with SMPP protocol, Fortunately kannel has good support for SMPP and its available freely.
Multiple providers are better, for Failover and comparatively lower cost due to LCR.
It is obvious that you will charge your clients for outgoing SMS. however for inbound you can earn from DID numbers ( user have to pay rent for their inbound number ) further if you have large number of active DIDs / Phone numbers you can earn money from providers too ( who send traffic to your DIDs ) against termination and SS7 dips. but its very advance topic and only feasible for big players.
For initial cost calculation you have to consider multiple things like Infrastructure and server setup, Software licensing fees and 3rd party cost regarding DIDs and Termination services.
Hope it will help