rtyug

rtyug
Рейтинг
263
Регистрация
13.05.2009
Должность
perl,php,sql,javascript(jquery),freebsd/linux
Интересы
perl,php,sql,javascript(jquery),freebsd/linux
https://minfin.com.ua/blogs/94589307/115366/

подобное делал знакомый на http://host-food.ru (хостинг от 7 рублей)

детали уточните у поддержки, НО по крайней мере можно купить и попробовать что получится :)

есть такая упячка, stat:

0 dev device number of filesystem
1 ino inode number
2 mode file mode (type and permissions)
3 nlink number of (hard) links to the file
4 uid numeric user ID of file's owner
5 gid numeric group ID of file's owner
6 rdev the device identifier (special files only)
7 size total size of file, in bytes
8 atime last access time in seconds since the epoch
9 mtime last modify time in seconds since the epoch
10 ctime inode change time in seconds since the epoch (*)
11 blksize preferred block size for file system I/O
12 blocks actual number of blocks allocated

посмотрите в строну: atime, ctime, mtime

попробуйте выполнить запрос

REPAIR TABLE my_table

Chamie, их зобанили, Вы что не видите?

если что, то я за них :)

по поводу сабжа, спросите у службы поддержки на ихнем сайте

точно не знаю, но не давно обнаружился такой класс в виде API на православном perl :)

Net::OSCAR - Implementation of AOL's OSCAR protocol for instant messaging (for interacting with AIM a.k.a. AOL IM a.k.a. AOL Instant Messenger - and ICQ, too!)

http://search.cpan.org/~toddr/Net-OSCAR-1.928/lib/Net/OSCAR.pm


METHODS

get_info (WHO)

Requests a user's information, which includes their profile and idle time. See the buddy_info callback for more information.
get_away (WHO)

Similar to get_info, except requests the user's away message instead of their profile.






send_typing_status (RECIPIENT, STATUS)

Send a typing status change to another user. Send these messages to implement typing status notification. Valid values for STATUS are:

* TYPINGSTATUS_STARTED: The user has started typing to the recipient. This indicates that typing is actively taking place.
* TYPINGSTATUS_TYPING: The user is typing to the recipient. This indicates that there is text in the message input area, but typing is not actively taking place at the moment.
* TYPINGSTATUS_FINISHED: The user has finished typing to the recipient. This should be sent when the user starts to compose a message, but then erases all of the text in the message input area.

evil (WHO[, ANONYMOUSLY])

Evils, or warns, a user. Evilling a user increases their evil level, which makes them look bad and decreases the rate at which they can send messages. Evil level gradually decreases over time. If the second parameter is non-zero, the evil will be done anonymously, which does not increase the user's evil level by as much as a standard evil.

You can't always evil someone. You can only do it when they do something like send you an instant message.
get_icon (SCREENNAME, MD5SUM)

Gets a user's buddy icon. See set_icon for details. To make sure this method isn't called excessively, please check the icon_checksum and icon_timestamp data, which are available via the buddy method (even for people not on the user's buddy list.) The MD5 checksum of a user's icon will be in the icon_md5sum key returned by buddy.

You should receive a buddy_icon_downloaded callback in response to this method.

может есть, какое-то другое решение...

...еще давно где-то были реализации на сокетах для этого протокола icq, толи на vingrad.ru, толи на античате

 alert( $("a.qqq").length );

это Вам - не это :) © (от куда не помню)

кстати, .toArray() добавили не давно в 1.4

мне отвечало:

Error: $("a.qqq").toArray is not a function

Line: 29

рабочий вариант:



<script type="text/javascript" src="/latest/jquery.pack.js"></script>

$(document).ready(function () {

var arr = new Array();


$('*[class^=qqq]').each(function(){

arr.push($(this).attr( 'rel' ));
});


alert( arr[1] );


});

смотря, что именно Вы хотите ускорить...

ускорить можно производительность за счет потребление памяти :) 128гиг давайте?

если у Вас много процессоров, и не так много памяти, то скорее всего оно не ускорит значительно

узким местом может быть база данных и шаблонизатор

например, если phpbb будет 100-200гиг, то надо будет долго переделывать двиг, оптимизировать запросы, разное кэширование, счетчики - атомарные операции, добавлять javascript - ajax/json, проводить рефакторинг и т.д и т.п....

Всего: 2055