我一直在调查一些工作的AWS现场实例, 而不是一个静态集群, 由SQS运作,
现在,我知道如何将新的点点数转换为指定一个特定 AMI, 我在这个 AMI 上有一个PHP脚本, 上面写着 / home/ ubuntu/ called do_ job.php, 但是它需要几个参数( 就像 SQS 信息中的参数 ) 。
在我服务器的产卵器里 是否有一种好办法 在我的确认它正在运行 但没有锁住我的产卵器之后 将一个无同步命令呼叫到新的现场实例?
也许我是从错误的角度看待这个?
我一直在调查一些工作的AWS现场实例, 而不是一个静态集群, 由SQS运作,
现在,我知道如何将新的点点数转换为指定一个特定 AMI, 我在这个 AMI 上有一个PHP脚本, 上面写着 / home/ ubuntu/ called do_ job.php, 但是它需要几个参数( 就像 SQS 信息中的参数 ) 。
在我服务器的产卵器里 是否有一种好办法 在我的确认它正在运行 但没有锁住我的产卵器之后 将一个无同步命令呼叫到新的现场实例?
也许我是从错误的角度看待这个?
我想我会继续关注这个问题。
没有简单的方法可以做到这一点。 目前最简单的方法就是在您的服务器上安装基本的 Apache 或 Lightttp 或任何网络服务器, 获得内部公共 DNS, 并通过一个 Async CURL 方法从产卵 EC2 实例中调用 EC2 。
比较容易接受的方法是使用像 SQS 那样的 MQ, 并在工作服务器上创建可见度锁定。 当您在工人服务器或任何点/点/点实例上处理您的 MQ 时, 您正在运行来处理信息, 您可以设置脚本运行长度的可见度。 您可以使用简单的发件人来做到这一点, 使信息处理转换成背景过程, 而发件人会进入一个时段 () 循环在每次检测到背景进程时重新设置信件的可见度。 这样可以让信件保持单个服务器的完整性 。
要做到这一点,你就必须根据在亚马逊云表标准中可见的信件的大小和深度,根据显示在队列中有多少信息可见,并有一段时间。
这是扩大工作分组的可接受方式。
I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...
<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...
I found this script online that creates a thumbnail out of a image but the thumbnail image is created with poor quality how can I improve the quality of the image. And is there a better way to create ...
如何确认来自正确来源的数字。
Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...
I wonder there is a way to post a message to a facebook business page with cURL? thanks
I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...
How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...